# copyright @babytigerl
# upload: 2023-7-29 by @babytigerl
# -*- coding: UTF-8 -*-

# 按照手册和提示，写出代码，实现控制台输出 Hello World! 之后保持板载LED闪烁


import time
import machine
led_onboard=machine.Pin("LED",machine.Pin.OUT)
delay=0.5
print("Hello World!")
while True:
    led_onboard.value(1)
    time.sleep(delay)
    led_onboard.value(0)
    time.sleep(delay)
